package com.jeff.utils.sqlite;

/**
 * author：duff
 * version：1.0.0
 * date：2017/9/1
 * desc：
 */
public class ConditionGroup extends Condition<ConditionGroup> {

    public ConditionGroup add(Condition condition) {
        if (condition != null) {
            mConditionBuilder.append("(").append(condition.getConditionString()).append(")");

            mWhereArgs.addAll(condition.getWhereArgsList());
        }
        return this;
    }

}
